package com.gitee.gen.common;

import java.util.List;

public class GeneratorParam {
    /** datasource_config主键 */
    private int datasourceConfigId;

    /** 表名 */
    private List<String> tableNames;

    /** template_config主键 */
    private List<Integer> templateConfigIdList;

    private String packageName;

    private String delPrefix;

    /**
     * 本地生成文件路径
     */
    private String generateLocalPath;
    /**
     * dal层模块名称
     */
    private String dalModuleName;
    /**
     * service层模块名称
     */
    private String serviceModuleName;
    /**
     * controller层模块名称
     */
    private String controllerModuleName;

    private String charset = "UTF-8";

    public int getDatasourceConfigId() {
        return datasourceConfigId;
    }

    public void setDatasourceConfigId(int datasourceConfigId) {
        this.datasourceConfigId = datasourceConfigId;
    }

    public List<String> getTableNames() {
        return tableNames;
    }

    public void setTableNames(List<String> tableNames) {
        this.tableNames = tableNames;
    }

    public List<Integer> getTemplateConfigIdList() {
        return templateConfigIdList;
    }

    public void setTemplateConfigIdList(List<Integer> templateConfigIdList) {
        this.templateConfigIdList = templateConfigIdList;
    }

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public String getDelPrefix() {
        return delPrefix;
    }

    public void setDelPrefix(String delPrefix) {
        this.delPrefix = delPrefix;
    }

    public String getCharset() {
        return charset;
    }

    public void setCharset(String charset) {
        this.charset = charset;
    }

    public String getGenerateLocalPath() {
        return generateLocalPath;
    }

    public void setGenerateLocalPath(String generateLocalPath) {
        this.generateLocalPath = generateLocalPath;
    }

    public String getDalModuleName() {
        return dalModuleName;
    }

    public void setDalModuleName(String dalModuleName) {
        this.dalModuleName = dalModuleName;
    }

    public String getServiceModuleName() {
        return serviceModuleName;
    }

    public void setServiceModuleName(String serviceModuleName) {
        this.serviceModuleName = serviceModuleName;
    }

    public String getControllerModuleName() {
        return controllerModuleName;
    }

    public void setControllerModuleName(String controllerModuleName) {
        this.controllerModuleName = controllerModuleName;
    }

    @Override
    public String toString() {
        return "GeneratorParam{" + "datasourceConfigId=" + datasourceConfigId + ", tableNames=" + tableNames
            + ", templateConfigIdList=" + templateConfigIdList + ", packageName='" + packageName + '\''
            + ", delPrefix='" + delPrefix + '\'' + ", charset='" + charset + '\'' + '}';
    }
}
